//
//  MCTableBaseCell.m
//  GridGovernance
//
//  Created by 吴欧 on 2018/1/19.
//  Copyright © 2018年 Bitvalue. All rights reserved.
//

#import "MCTableBaseCell.h"

@implementation MCTableBaseCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self fixConstraints];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self fixConstraints];
    }
    return self;
}

- (void)fixConstraints {
    self.width = KScreenWidth;
     // Fix the bug in iOS7 - initial constraints warning
     self.contentView.bounds = [UIScreen mainScreen].bounds;
}

- (void)refreshContent:(GDFiterCellModel *)fiterModel formModel:(GDFormModel *)formModel indexPath:( NSIndexPath *) indexPath{
}

- (void)configCellWithModel:(id)model {
    
}

- (void)configCellWithModel:(id)model indexPath:( NSIndexPath *) indexPath {
    
}

- (void)configCellWithModel:(id)model fiterModel:(GDFiterCellModel *)fiterModel indexPath:( NSIndexPath *) indexPath {
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
